package com.linxi.handy.service;

import java.util.List;

/**
 * 缓存服务
 * @author mac
 */
public interface CacheService<T> {

    List<T> getCacheList();

    String getCacheString();

    boolean modifyCache(T object);

    boolean selectiveUpdateCache(T object);

    boolean addCache(T object);

    boolean deleteCache(T object);

    boolean isExistObj(T object);

    void refreshCache();
}
